Fixed a bug in apply-changes