Fix for cli error