NumButtons corrected