fix strncmp