fixed amgPath location