fix a segfault.
NB_MODULE was one more that the real modules number. So, a segmention fault occured with a bad line on myscreenrc