fixed nasty database leak (hopefully)
deactivated decay (produces stack overflow), tried to fix database leak