Fix some bug

Fix "bar will change after restart game" bug