Fix bug with cfg array being of the wrong size