fix some sytax errors