fix strncmp lenght