fix some bugs.

1. add seed id in preview.
2. fix block area problem while previewing block.
3. fix xpath generating problems.