misc changes in api