toolbox error straight miter gear creation

Hello every one.

I'm using SW2015 SP5.

I've used the toolbox to generate 2 straight miter gears (one with 16 teeth, the second with 32) to have a ratio of 2:1.

the parts generated don't fit.

can some one help me ?

see attached parts generated with the toolbox

SolidworksToolbox