Fix for retrieving local IP