fix issues in ci scripts