Fix deprecate reference