fixed associations in role model (add foreign_key)