fixed problem with robot connect