fix admin dropdown logic