major problems with persisting in components that are not shown