handle blank date