add slash to previous_url