banner condition added to check empty