handle trying to assign timestamp to null