fixed error in connector