allow using unique and unique_with