Prevent urls from being executed twice