cleanup and ignore when observation time is null