Small errors

connector : err unknown
learner : string type