enforce db lengths better, especially characters and messages