fixed widget test error