fix various admin features
Merge remote-tracking branch 'upstream/master'