Fix a lot of problems on admin panel