enhance deprecated message