fixing safari/iE