Fix problems with the first ref value. Now it stats in 1, not in 2