fixed bug when creating a new question and answer