lineIndex > len(self.misc) error
formatting fix for end