fix filling of $breed_by_swcode