allow null date for publish