bugfixes in new message; using new db