fix madis path