minor bugfixes in libiomux