fix issue in kryo and fst