fix models for semio_muz, fix bug with extends in template