resource url fix