This check is and should be performed by the error and by the config? I dont see why its here?