fixes #57
fix crash on empty op list
fix crash #60