Check that the tail switch is tight. Had the same problem last night with a light I built, switch was loose tightened it and it works perfectly.