fixed classifier to be able to use targets other than 'spam'