FIX megsim path resolution