fixed errors from commit for interfaces api change