HKAS400 API bug fix