starting to fix   intermittant crash in instancer  still crashes atm