fixed error that prevent from vote the first time.