auto-import optimization