correct spellings
Fixing bug occured with objects in parameter