trying to fix persistant objects, not working yet