fixed robot re-initialization problems, #1873