fix silly syntax errors and omissions