fixing the extend message while registering a model