fix a bug of showing