remove $tempoutput in the scope we create it - else we end up with removing unbound...