Forgot to read terminating \0 of the string