tried to make global acccesor for host change.. didnt work