corrected error introduced in diriKL