eliminating unnecessary nkx and nky index