amalagamate fix