updates for kk compatibility