fixed spinner issue with safari
fixed spinner issue with safari