a few small improvements

Fixed a few tables and some syntax errors.