bug in new cfg