fixed Ghost.capture()