fixes for travis test