fixing the resource not found issue