fixed bugs in question controller