fix copy code for travis