fix ambc environments