fix message parsing for error
temporary skip pep8, move to pylama in future with pylama config