finally fix ghost fragment bug