remedy naming bug (config.size to config.length)