Though a large batch and large amount of flights by space standards, Shuttle was basically all prototypes by normal manufacturing standards. The 135 STS flights wouldn't even make a dent in an airliner certification and test campaign. It's not surprising they kept encountering problems.