fixing duplicate output of modjk