fixed bugs in answer controller