Fixed a few issues with errors.