Fixed resource-related error