fixed errors for momentary and camera buttons