Fixed the null terminator