bugfix: No filename attachment lead to crash