fix undiscard