fix player movements