sending deprecation message to stderr