try and fix problems with annotation editing and utf-8