this fixes an issue in matched messages
this fixes an issue in messages report