we should add an 0 at the end of a string manually,because we use strncpy