fix for non-palette related bug (nw)