Fixed but refactoring ghost piece