fixed ref target formatting