hack for relation error