fixing spelling and renaming after api change.