Check if already in paths. MongoDB path fix.