Edited obstacleRemoval

corrected the format of accessing data