error in relation