travis and doc test fix