fix reading from dataP%dT%d value for Amp