fix spelling error and remove print statement