tidy up imports in image