Fixed missing variable and extra bracket.