fail more gracefully on mangled message data