fixing controller config parsing