revert accidental changes to API