fixed config option in newapi