fixed a small bug when not using the setup wizard