wm: fix strcmpi issue