works locally but not on travis-ci :/