improved patch for suppressing .weak_def_can_be_hidden