use \eqref{...} for referencing equations.