player class remove some useless lines