Minor changes to AMPX_loadData()