fix convert_date function