Fix empty lines in KPTD