fix problem with date column