Fixes missing } as pointed out by @minorOffense