Fix access to vars after security close
3.15.1