return function may be causing exit w/ a value in travis