fix brick couting bug introduced in v1.4. fix mini ad banner bug.