load palette stuff