Fixed a problem with change callback registration