fixed #1 (safari)