fix expand bug
fix expand bug & update example