fix logd error