removed bugs in classifier class