cleaner null persistence implementation