fix script for travis