added code to clear octomap