fixing runtime configuration bug