bugfix io with empty vectors