prevent crash global name 'always_zap' is not defined