Fixing create player functionality