minor changes to convert_ampds