correct a couple of syntax changes