Fix pigs not being loaded properly