fix doc and make dist