fixed tempmap stuff