Fix resource not found error