fixed stupid bug with reuse of tmp variable
fixed stupid bug with reuse of tmp variable

sneezymud/sneezymud,sneezymud/sneezymud,sneezymud/sneezymud,sneezymud/sneezymud,sneezymud/sneezymud,sneezymud/sneezymud,sneezymud/sneezymud