fixes reference style links