Work properly with squid