Bug fixes for the web annotation