fix code style in classifier