Resolving model.clear