fix the number of changes