fix ghost collision code
build