fix sestangular bug in safari