set model to null