fix doc and whitespace