fix widget viewmodel terminal eror