fix mark operations