add new example and fix some problem