fixes safari infobutton bug