check for one-one relations