trying to fix issues with specs failing on travis-ci