fix possible information leak