fixed error with NotFound methods