check for empty palette entry