simplify, fix whitespaces and line breaks