Fixed parantheses error in closures