fixing duplicate output of modjk
changing has_key function
Merge pull request #6995 from ranl/modjk

fixing duplicate output of modjk