fixed the bug in layoput generation with 'members'