fixed missing null terminator.