fixed hiding captions and comments always bug