Fixes some setup stuffs.