fix scripts spec on travis