msg is often stringified