Fix 'unexpected token kEND'