fix_kb.sh