avoid multiple palette loads