improvements about ip blocking