fix method call / don't use deprecated methods internally