bug fix for isShowed