fix travis test fail on 0.8.x