bugfix in layout styles for metadata of states and events