bugfix: read in operations correctly