custom classifier fix