update warning as per Fred’s suggestion