it will crash when kh_exist checking, before kh_put first.

at least one flag space should be available before using it.

this code guarantee safety when access this table before kh_put is called.