[FIX] more robust WSMP detection