fixed date column type to date instead of string.