fixed to not fire a change event when en error event is fired