fix expected error messages