Fixed small errors with names and indentations