Removed trash, solved problem with legend adding