Bug fixes exposed by Foundry tutorials