why do we need "|| commonDataService.getWebClientProperties().isTagsAvailable()" in if clause ?