fixed try-except in load_map function
fixed try-except in load_map function