modify converter to support the current version of KothicJS