Fixed Bug for duplicate output Blocks