fixes admin panel