add correct url to unpublish