[misc] Fixed deprecation warning displayed in the logs