problem in converting P6 file to P3 version