Fixed temp redeclaration