Fix bug in admin panel/plugins