remove assert for pn_ == 2
remove warning in assert
Merge branch 'master' into refactor_io
separate hasIO ; add test of io