fix another direction issue with relations