detect problems loading haar cascade, needs some more work