fixed deprecation warnings in get command