added fix for use with a-tags