fix error from Travis build