fixed loger bug2