check unique finally fixed