How to control quality deficiencies in textile industry