set search margin