[bugfix] modify demo
[bugfix] trigger headready event