fixed stricmp => strcasecmp;