clear code.and fixed the terrainpick bug