missed a bug in get_kdb, otherwise it works great

Signed-off-by: buckie <wjmartino@gmail.com>