bug on pseudodata fixed