posts closed date null fix