error fixed about the brackets closing

for your interest