Correction of the pb with PSeq, major clean of the code