relation has one bug fixed