another fix to check message