Fixed a couple of console error messages