optimize composer setting