Fix several bugs.

1. Fix headline xpath problem
2. Fix table generating and evaludating problem.