fix code format in classifier