fix errors for travis