fix for Safari users