fixing tempfile
travis ci