fix for:only one uniqe col per model