Fixed some inconsistencies in code indentation