function to hideAddress