fixed bug with local adress