Fix bad urls for resources