main layout dialog --lsy
fix some problem --zd