fixing amcl 7