Fixed the errors

Fixed the serilazation erro and the igrnore erro