fix spacing from commit: 730123d8bf07cbeb9dbdf9edf033acf70e9a36e8
fix loaded flag being captured