Fixing console log opening after