don't try to use $minuid if it contains no value