modify j,k mapping