Deleted leading and trailing spaces inside *if* to match code style