change field erno into errno
fix control for integer