fix doc and mail