fixing association error