Fractional branes and wrapped branes