fixing url for post