attempted to fix temp_map save procedure
changed temp save procedure