fixed issue with the self.min variable and the minimize function still accessable