added fix_url helper method