improve error report
improve format