Clean up two errors showing up in console.