solved ghost collision bug