added flex layout depend