to prevent hair