fixed safari issue