Try and fix function for travis