attempted while fixes