define common layout, fix promoCode, bot flag logic into hide in entity