fixed model0 example bugs

fixed model0 example bugs