Fixed bug caused by pressing back and revoting