handle 1D case for real