put in hook for url_strip method