brings back the resource mismatch error

resolves #2728