delete demo
fixed  some bugs