make socks reading more bulletproof