fixed bracket error