fix indentations and add ; at the end of the line