code style + doc fix