fixed view-model error