A few more fixes

On line 40 and 47, what is temp?