fix bugs in django staff