fix repeated block output