fix routing and admin