api: fixed heal handler.