[fix] missing a break when the right layout is found