fix resource url