fix indent and syntax