fixed bug with answer submission