Fixes url errors