fix cli app to use new KeyFunc