Fix base kgtpweb.py