fixed iobe/type errors in controller