fixed more player code and other stuff