Fixes URI issue with localhost