fix sharing of key_section var between base and sub classes