fixing relation mistake