cleanup of temporal expressions