bugfix in mirapath