Fixed missing bracket in IF statement