fixing bug in answering questions