fix link bug with safari