Fix log date
Delete useless statements