tiny clean up in messages controller