lack paras in log funciton