fixes the MessageProcessor. It just checked the first singular message whether it's empty. Now it checks every message