managed imports, fix return