fixed issue with safari