fix empty widget array after structure change