prevent setup_complete from running multiple times