fix underline to match the title's length