remove permalink filter for ghosts