fix the unclosed bracket in gradient block