fixing a problem on select type questions