relaion field bug fixed