fixed several show bugs