fix resourceslib