fix logic fault

w.hook logic fixup and MDown text format.