deprecated message should be clearer