fix an error in doc and do some styling