Fixed a couple of error messages.