[bugfix]cannot find resources with relative paths