added exception when title is null