fix url on magnific popup open