fixed bug with unique column