recompute when value undefined

fixes min,max etc