Add check for name === '' in renameMe