fixed a bug that made the pictures show in each tab.