admin panel template fixes