catch empty messages