reset model when going to next problem