streq underflow fix