fix warning in doc compilation and bad english