fix resources url