calinfo auto get logic by cors