fixed bug regarding questions appearing twice when submitted