optimize the imports