fixed a couple syntax issues so this thing will build