fixed strncmp()