cleaned up a couple syntax errors that broke compilation