fixed null char showing