bug on consolelog