i cant get that notice to test it but try changing it to
if (*not* iswm $2)