fix dynamic config bug

Commented code? Why?