better error messages on scrambling