view dosage diary links was not working on some pages