fixed issues with deleting questions and answers