fix the level max error for forms
fix some bug on competence