Fixing the title setting in case of zero length ex title