kk compile fix