trying to fix duplication issue with safari