fix error on importing models