refine company-mode customizations