Got rid of the duplicate lines to remove toolbars