fixed Safari bug in example