fix input for hstrcmp