clean up date_tag method