add support for empty close date