palette improvement, lerp fix