fix whitespaces and change a msg error string to 2.0 style