fix set active on import