removing unwanted stack view