bugfix in api handler for new response