ignore pickle file
correct some type errors