fix error with missing bracket on line 43