Fix url object call bug