fix a compile issue
added a un-plat struct demo
fix compile issues