Fixed basicrelation issue