bug fixing config.