add verification for invalid message prefixes