buggy console log