Fix for displaying sub-elements