removing redundant tabs and twealing layout to fit designs