Fixed code indentations and typo.