fixed issue of answer not submitted