Bugfix, error when editing site on global domain