fix blank date being converted to today's date