emit correct block url