Fix the broken parts that appeared after setting last_visited as an object