fix for latest cli