Corrected some syntax errors

Thanks John Campbell
More syntax errors

thansk again to John