fixed title bug that happens when default name is used