Fixed a few Errors