fixed a few errors to get it running.