fixes for travis ci testing