bug fix on updater sort