Fix Fatal error on travis build