#! fix for Safari