fixed python3 brackets