fix indent and var name change