small changes to ELK-MAM