fix tab/space indentions, other style fixes