set visibility attribute of annotations (fix part of #23)