update code style of 2 classes, #37