fixing issues with cli runner