fix url to resources