move settings to layout block