you're missing "model" from "If the model is not registered"