fix log command