Fix for weird URL paths