Fix code style, remove debug log.