fix help error in stat command
minor changes to doc and build