Fixed bug not printing null char