Make sure proxy is not null