fixed dummy flag associated calculation