[misc] Fixed a few warnings logged in the console