fixing amcl 3