Fix missing bracket
Made param as a final variable