Oil pump / distributor gear will not come out from the top

I always use a flat blade screw driver + a magnet...I stick the magnet to the gear, put the screwdriver in the slot and giggle it while pulling up on the magnet...usually comes right out. The few times it doesn't come right out, I just reposition the magnet and try again. Boom, done.