trying to fix persistence