fixed a bug where an invalid query parameter triggers exception on the question page