fixing bug with links on ios