colapse value from tmp