fixing url stuff