fix model not exists error