delect Rock obstacle feature and edit some code.