fixing amcl 4