Cleaned up some small errors