Fixed errors for travis