key checking in set_info