fix the bracket problem in the if statement....