Fixing check mismatch