fixed a resource miss