fix show hide address logic