Fixed for loop curly brace