don't print [] on scope title if no name is found