fixed trj2pdb and trj