fixes persistance