fixing date format and column name