Fix proxy crash