Fixing some URL behaviours.