Fixed crash if message is just spaces