fix api return bug highlighted by syntaxconformancetest