fixed check unique controller