Fixd syntax for if statment.