stop those "undo discarded" warnings