fixing association validation