added showTitleAttr