Fixing process loops.