fixed association bug