model filtering fix