[bugfix] can not locate resources
little tweak