add calinfo auto get logic