make AMF reassign work after failure