suppress warnings and keep backwards compatibility