Fix a bug in resizing, tags finished