Fixed an error with the "console" logging