fix variable case mismatch