Fixed bug in ci script