sed fix in unset command