Fixed console log to not print