fixes for travis ci