does not set checkbox incorrectly when receiving data for checkbox mode