fixing URL for the post