fix export model
updates from sanmiks project