add operations by ID, fix errors