return tags to layout