fixed issues in main RE: temp_lookup

issues were typos, forgotten # signs etc