Fixed cheking by dublicates