fix ghost movement