modify label anchor type