api: oops double swap on histo