Fix variable name type; edit indentation