optimize all imports