palette formatter formatting correctly