corrected syntax error of missing bracket