fix method incompatability issue