Fix url() method