fix indent and empty lines