Fixing error on empty message form.