don't print warning for deprecated