fixed crash caused by null reference but caused new bug: a precise door opens even without GFP