fix bugs in stat and answer page