Fixes url issues