Fix error in setting up date and fix wrong label name