removed redundant code

removed redundant code
formatting of dynamic facets

formatting of dynamic facets