bugfix crash on empty message