add getLoader in view model