add support multi-layout