add get layout
get config from layout instead of space preferences