1. -Remove the pointer version of clear map, because it is a bug.
2. -Make the marco becomes template function in editor mode. so we can debug.
1. -Move some export marco content to template function.