fix code style, close #2