fixed refactoring-fail in playerAction