remove bug from showing/hiding