fix of deprecated method overloading