setup preliminary admin and fixed warnings