fix the hide issue