refactor clear import