prevent sending undefined answer for multiple choice