Fixed technique of setting URL