Fix bug in persisting sites.