Try to fix cannot find a resource error.