vrep_slam: adapter replace bug fix