Fixes bug with urls