standardize and clean indentation, remove empty lines