fixed ghost.move() null pointer exception