fixing incompatible tuple error, debugging player.type parsing