adjustment to API changes

cleared code in addition