fix deprecation warning due to use of stub
version 4.5.0