Correction bug on type