fix most of palette formats (nw)