fix for blank dates