fixed bug in create player