fix the case where there are no changes