correcting hidden elements