added fix to not send blank message