Fixed travis build exceptions