fixing amcl 6