it will crash when kh_exist checking, before kh_put first.
at least one flag space should be available before using it.