fix doc and travis build