fixed errors in alm fxn due to slight changes in json formatting