fix handling of missing resource on bootstrap