handling errors with subject associations