Fix URL helper method.