fixed hidding and showing