disabled some deprecated-warning