Fixed console bug