pdf highlight working version, fixed a bug