error in relations controller!