Fixes proxy path issues